package com.lin.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * ClassName Goods
 * Package com.lin.pojo
 *
 * @author hellcat
 * Date 2020/3/15
 * Description:
 * 🐾
 */

public class Wares implements Serializable {
    private static final long serialVersionUID = 2665083400836301576L;
    private Integer id;
    private String name;
    private Integer freshDate;
    private Integer expiryDate;
    private Double purchase;
    private Double avePurchase;
    private Double price;
    private String specification;
    private Integer saleVolumes;
    private Integer inventory;
    private Integer minInventory;
    private String unit;
    private String category;
    private Integer storeId;
    private Integer status;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public Integer getFreshDate() {
        return freshDate;
    }

    public void setFreshDate(Integer freshDate) {
        this.freshDate = freshDate;
    }


    public Integer getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(Integer expiryDate) {
        this.expiryDate = expiryDate;
    }


    public Double getPurchase() {
        return purchase;
    }

    public void setPurchase(Double purchase) {
        this.purchase = purchase;
    }

    public Double getAvePurchase() {
        return avePurchase;
    }

    public void setAvePurchase(Double avePurchase) {
        this.avePurchase = avePurchase;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }


    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }


    public Integer getSaleVolumes() {
        return saleVolumes;
    }

    public void setSaleVolumes(Integer saleVolumes) {
        this.saleVolumes = saleVolumes;
    }


    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }


    public Integer getMinInventory() {
        return minInventory;
    }

    public void setMinInventory(Integer minInventory) {
        this.minInventory = minInventory;
    }


    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }


    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

}
